package com.itcast.mapper;

import com.itcast.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberMapper {
    Member find(String telephone);
    void add(Member member);

    Integer findMemberCountByDate(String today);

    Integer findMemberTotalCount();

    Integer findMemberCountAfterDate(String thisWeekMonday);

    Integer findOrderCountByDate(String today);

    Integer findOrderCountAfterDate(String thisWeekMonday);

    Integer findVisitsCountByDate(String today);

    Integer findVisitsCountAfterDate(String thisWeekMonday);

    List<Map> findHotSetmeal();
}
